package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class BlogSpotBase{
	boolean[] modified=new boolean[21];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public BlogSpotBase(){}
	public BlogSpotBase(java.lang.Long blogSpotId,java.lang.String title,java.lang.String discription,java.lang.String email,java.lang.String signature,java.lang.Integer forwardPolicy,java.lang.Integer publicPolicy,java.lang.Integer orderPolicy,java.lang.Integer archivePolicy,java.lang.Integer replyPolicy,java.lang.Integer timeFormat,java.lang.Integer blogsShowedPerPage,java.lang.Integer blogStyle,java.lang.String feedback,java.lang.Integer state,java.lang.Long postCount,java.lang.Integer score,java.lang.Integer averageScore,java.util.Date lastPostTime,java.util.Date lastReplyTime,java.lang.String categories){
		setBlogSpotId(blogSpotId);
		setTitle(title);
		setDiscription(discription);
		setEmail(email);
		setSignature(signature);
		setForwardPolicy(forwardPolicy);
		setPublicPolicy(publicPolicy);
		setOrderPolicy(orderPolicy);
		setArchivePolicy(archivePolicy);
		setReplyPolicy(replyPolicy);
		setTimeFormat(timeFormat);
		setBlogsShowedPerPage(blogsShowedPerPage);
		setBlogStyle(blogStyle);
		setFeedback(feedback);
		setState(state);
		setPostCount(postCount);
		setScore(score);
		setAverageScore(averageScore);
		setLastPostTime(lastPostTime);
		setLastReplyTime(lastReplyTime);
		setCategories(categories);
	}
	public void setBlogSpotId(java.lang.Long blogSpotId){
		if(blogSpotId!=null) {
			set("blogSpotId",blogSpotId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getBlogSpotId(){
		return (java.lang.Long)get("blogSpotId");
	}
	public void setTitle(java.lang.String title){
		if(title!=null) {
			set("title",title);
			this.modified[1] =true;
		}
	}
	public java.lang.String getTitle(){
		return (java.lang.String)get("title");
	}
	public void setDiscription(java.lang.String discription){
		if(discription!=null) {
			set("discription",discription);
			this.modified[2] =true;
		}
	}
	public java.lang.String getDiscription(){
		return (java.lang.String)get("discription");
	}
	public void setEmail(java.lang.String email){
		if(email!=null) {
			set("email",email);
			this.modified[3] =true;
		}
	}
	public java.lang.String getEmail(){
		return (java.lang.String)get("email");
	}
	public void setSignature(java.lang.String signature){
		if(signature!=null) {
			set("signature",signature);
			this.modified[4] =true;
		}
	}
	public java.lang.String getSignature(){
		return (java.lang.String)get("signature");
	}
	public void setForwardPolicy(java.lang.Integer forwardPolicy){
		if(forwardPolicy!=null) {
			set("forwardPolicy",forwardPolicy);
			this.modified[5] =true;
		}
	}
	public java.lang.Integer getForwardPolicy(){
		return (java.lang.Integer)get("forwardPolicy");
	}
	public void setPublicPolicy(java.lang.Integer publicPolicy){
		if(publicPolicy!=null) {
			set("publicPolicy",publicPolicy);
			this.modified[6] =true;
		}
	}
	public java.lang.Integer getPublicPolicy(){
		return (java.lang.Integer)get("publicPolicy");
	}
	public void setOrderPolicy(java.lang.Integer orderPolicy){
		if(orderPolicy!=null) {
			set("orderPolicy",orderPolicy);
			this.modified[7] =true;
		}
	}
	public java.lang.Integer getOrderPolicy(){
		return (java.lang.Integer)get("orderPolicy");
	}
	public void setArchivePolicy(java.lang.Integer archivePolicy){
		if(archivePolicy!=null) {
			set("archivePolicy",archivePolicy);
			this.modified[8] =true;
		}
	}
	public java.lang.Integer getArchivePolicy(){
		return (java.lang.Integer)get("archivePolicy");
	}
	public void setReplyPolicy(java.lang.Integer replyPolicy){
		if(replyPolicy!=null) {
			set("replyPolicy",replyPolicy);
			this.modified[9] =true;
		}
	}
	public java.lang.Integer getReplyPolicy(){
		return (java.lang.Integer)get("replyPolicy");
	}
	public void setTimeFormat(java.lang.Integer timeFormat){
		if(timeFormat!=null) {
			set("timeFormat",timeFormat);
			this.modified[10] =true;
		}
	}
	public java.lang.Integer getTimeFormat(){
		return (java.lang.Integer)get("timeFormat");
	}
	public void setBlogsShowedPerPage(java.lang.Integer blogsShowedPerPage){
		if(blogsShowedPerPage!=null) {
			set("blogsShowedPerPage",blogsShowedPerPage);
			this.modified[11] =true;
		}
	}
	public java.lang.Integer getBlogsShowedPerPage(){
		return (java.lang.Integer)get("blogsShowedPerPage");
	}
	public void setBlogStyle(java.lang.Integer blogStyle){
		if(blogStyle!=null) {
			set("blogStyle",blogStyle);
			this.modified[12] =true;
		}
	}
	public java.lang.Integer getBlogStyle(){
		return (java.lang.Integer)get("blogStyle");
	}
	public void setFeedback(java.lang.String feedback){
		if(feedback!=null) {
			set("feedback",feedback);
			this.modified[13] =true;
		}
	}
	public java.lang.String getFeedback(){
		return (java.lang.String)get("feedback");
	}
	public void setState(java.lang.Integer state){
		if(state!=null) {
			set("state",state);
			this.modified[14] =true;
		}
	}
	public java.lang.Integer getState(){
		return (java.lang.Integer)get("state");
	}
	public void setPostCount(java.lang.Long postCount){
		if(postCount!=null) {
			set("postCount",postCount);
			this.modified[15] =true;
		}
	}
	public java.lang.Long getPostCount(){
		return (java.lang.Long)get("postCount");
	}
	public void setScore(java.lang.Integer score){
		if(score!=null) {
			set("score",score);
			this.modified[16] =true;
		}
	}
	public java.lang.Integer getScore(){
		return (java.lang.Integer)get("score");
	}
	public void setAverageScore(java.lang.Integer averageScore){
		if(averageScore!=null) {
			set("averageScore",averageScore);
			this.modified[17] =true;
		}
	}
	public java.lang.Integer getAverageScore(){
		return (java.lang.Integer)get("averageScore");
	}
	public void setLastPostTime(java.util.Date lastPostTime){
		if(lastPostTime!=null) {
			set("lastPostTime",lastPostTime);
			this.modified[18] =true;
		}
	}
	public java.util.Date getLastPostTime(){
		return (java.util.Date)get("lastPostTime");
	}
	public void setLastReplyTime(java.util.Date lastReplyTime){
		if(lastReplyTime!=null) {
			set("lastReplyTime",lastReplyTime);
			this.modified[19] =true;
		}
	}
	public java.util.Date getLastReplyTime(){
		return (java.util.Date)get("lastReplyTime");
	}
	public void setCategories(java.lang.String categories){
		if(categories!=null) {
			set("categories",categories);
			this.modified[20] =true;
		}
	}
	public java.lang.String getCategories(){
		return (java.lang.String)get("categories");
	}
}
